package com.educhains.module.post.service;

import com.educhains.module.post.vo.Infloor;
import com.educhains.module.post.vo.PostReply;
import com.educhains.module.post.vo.PostReplyContent;
import com.educhains.module.post.vo.PostReplyWithContent;


import java.util.List;


public interface PostReplyService {

    PostReply selectByPrimaryKey(String replyId);

    List<PostReplyWithContent> selectPostReplyList(String postId);

    List<PostReplyWithContent> showByPage(int start, int end, String postId);

    int selectPostReplyCount(String postId);

    List<PostReplyWithContent> selectPostLocationReplyList(String postId, String LocationReplyId);


    int insertSelective(PostReply record);

    int insertContent(PostReplyContent record);

    List<Infloor> selectInfloorByFloorId(String floorId);

    int insertInfloorSelective(Infloor record);
    /**
     * Get post reply list by user id with limit
     *
     * @param userId
     * @param limit
     * @return
     */
    List<PostReply> getPostReplyListByUserIdWithLimit(String userId, int limit);

}
